import axios from '../utils/http'
const test1=async (_data)=>{
    const {data}=await axios.get('/test1',{params:_data})
    return data;
}
const test2=(_data)=>{
    return axios.post('/test2',{data:_data})
}

const login=async (_data)=>{
    const {data}=await axios.post('/login',_data);
    return data;
}

export {
    test1,
    test2,
    login
}